<?php
$this->layout()->setLayout('restrict_actions');

echo $this->title;
$banner = $this->content;
?>
<form method="POST" action="<?php echo BASE_URL . 'restrita/update-banner' ?>" enctype="multipart/form-data">

    <div>
        <label for="tb_titulo">Título</label>
        <input type="text" name="tb_titulo" id="tb_resolucao" value="<?php echo $banner->getTitulo(); ?>" />
    </div>

    <br/>
    <br/>
    <div>
        <label for="tb_resolucao">Resolução</label>
        <input type="text" name="tb_resolucao" id="tb_resolucao" value="<?php echo $banner->getResolucao(); ?>" />
    </div>
    <br/>
    <br/>    
    <div>
        <label for="tb_link">Link</label>
        <input type="text" name="tb_link" id="tb_tb_link" value="<?php echo $banner->getLocalizacao(); ?>" />
    </div>

    <br/>
    <br/>    

    <input type="hidden" name="id" value="<?php echo $banner->getIdBanner(); ?>" />
    <input type="submit" value="Atualizar" />

</form>

<?php echo $this->flashMessages(); ?>

